package com.example.demo.entity;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User user);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User Login(String name, String pass);

    void Update(@Param("string1") String string1,@Param("string2") String string2);

    User selectNE(String string1, String string2);

    List<User> select();

    String selectEmail(int mainIds);

    User selectUser(String eamil);
}